﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using OPMS_V1.DOL;

namespace OPMS_V1.BOL
{
    public class User
    {
        //Intializing the class needed to access to the database
        UserDOL objuser = new UserDOL();

        /// <summary>
        /// This function is used for getting the Public User Details 
        /// by passing their login ID
        /// </summary>
        /// <param name="accountname"></param>
        /// <returns></returns>
        public DataSet Get_UserDetails(string accountname)
        {
            //Getting the Public User Details.
            DataSet UserDetails = objuser.Get_UserDetails(accountname);
            return UserDetails;
        }
    }
}
